package com.yimi.yinhepda.entity.response;

import java.math.BigDecimal;

/**
 * @author 000432
 * @date 2017/4/19
 * 运单信息  子单下主单用
 */
public class WaybillInfo {
  /** 主单号 */
  private Long waybillNo;
  /** 开单件数 */
  private Integer quantity;
  /** 库存件数 */
  private Integer nowInventory;
  /** 重量 */
  private BigDecimal realWeight;
  /** 体积 */
  private BigDecimal volume;
  /** 计费重量 */
  private BigDecimal chargeableWeight;
  /** 运单路由信息 */
  private String routeCode;
  /** 包装 */
  private String packingSpecification;

  public Long getWaybillNo() {
    if (waybillNo == null) {
      waybillNo = Long.valueOf(0);
    }
    return waybillNo;
  }

  public void setWaybillNo(Long waybillNo) {
    this.waybillNo = waybillNo;
  }

  public Integer getQuantity() {
    if (quantity == null) {
      quantity = 0;
    }
    return quantity;
  }

  public void setQuantity(Integer quantity) {
    this.quantity = quantity;
  }

  public Integer getNowInventory() {
    if (nowInventory == null) {
      nowInventory = 0;
    }
    return nowInventory;
  }

  public void setNowInventory(Integer nowInventory) {
    this.nowInventory = nowInventory;
  }

  public BigDecimal getRealWeight() {
    if (realWeight == null) {
      realWeight = new BigDecimal(0);
    }
    return realWeight;
  }

  public void setRealWeight(BigDecimal realWeight) {
    this.realWeight = realWeight;
  }

  public BigDecimal getVolume() {
    if (volume == null) {
      volume = new BigDecimal(0);
    }
    return volume;
  }

  public void setVolume(BigDecimal volume) {
    this.volume = volume;
  }

  public BigDecimal getChargeableWeight() {
    if (chargeableWeight == null) {
      chargeableWeight = new BigDecimal(0);
    }
    return chargeableWeight;
  }

  public void setChargeableWeight(BigDecimal chargeableWeight) {
    this.chargeableWeight = chargeableWeight;
  }

  public String getRouteCode() {
    return routeCode;
  }

  public void setRouteCode(String routeCode) {
    this.routeCode = routeCode;
  }

  public String getPackingSpecification() {
    return packingSpecification;
  }

  public void setPackingSpecification(String packingSpecification) {
    this.packingSpecification = packingSpecification;
  }
}
